3.6.25 \(\int x (1+x) (1+2 x+x^2)^5 \, dx\)

Optimal. Leaf size=19 \[ \frac {1}{13} (x+1)^{13}-\frac {1}{12} (x+1)^{12} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {27, 43} \begin {gather*} \frac {1}{13} (x+1)^{13}-\frac {1}{12} (x+1)^{12} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x*(1 + x)*(1 + 2*x + x^2)^5,x]

[Out]

-(1 + x)^12/12 + (1 + x)^13/13

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int x (1+x) \left (1+2 x+x^2\right )^5 \, dx &=\int x (1+x)^{11} \, dx\\ &=\int \left (-(1+x)^{11}+(1+x)^{12}\right ) \, dx\\ &=-\frac {1}{12} (1+x)^{12}+\frac {1}{13} (1+x)^{13}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.00, size = 77, normalized size = 4.05 \begin {gather*} \frac {x^{13}}{13}+\frac {11 x^{12}}{12}+5 x^{11}+\frac {33 x^{10}}{2}+\frac {110 x^9}{3}+\frac {231 x^8}{4}+66 x^7+55 x^6+33 x^5+\frac {55 x^4}{4}+\frac {11 x^3}{3}+\frac {x^2}{2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x*(1 + x)*(1 + 2*x + x^2)^5,x]

[Out]

x^2/2 + (11*x^3)/3 + (55*x^4)/4 + 33*x^5 + 55*x^6 + 66*x^7 + (231*x^8)/4 + (110*x^9)/3 + (33*x^10)/2 + 5*x^11
+ (11*x^12)/12 + x^13/13

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x (1+x) \left (1+2 x+x^2\right )^5 \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x*(1 + x)*(1 + 2*x + x^2)^5,x]

[Out]

IntegrateAlgebraic[x*(1 + x)*(1 + 2*x + x^2)^5, x]

________________________________________________________________________________________

fricas [B]  time = 0.36, size = 61, normalized size = 3.21 \begin {gather*} \frac {1}{13} x^{13} + \frac {11}{12} x^{12} + 5 x^{11} + \frac {33}{2} x^{10} + \frac {110}{3} x^{9} + \frac {231}{4} x^{8} + 66 x^{7} + 55 x^{6} + 33 x^{5} + \frac {55}{4} x^{4} + \frac {11}{3} x^{3} + \frac {1}{2} x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(1+x)*(x^2+2*x+1)^5,x, algorithm="fricas")

[Out]

1/13*x^13 + 11/12*x^12 + 5*x^11 + 33/2*x^10 + 110/3*x^9 + 231/4*x^8 + 66*x^7 + 55*x^6 + 33*x^5 + 55/4*x^4 + 11
/3*x^3 + 1/2*x^2

________________________________________________________________________________________

giac [B]  time = 0.17, size = 61, normalized size = 3.21 \begin {gather*} \frac {1}{13} \, x^{13} + \frac {11}{12} \, x^{12} + 5 \, x^{11} + \frac {33}{2} \, x^{10} + \frac {110}{3} \, x^{9} + \frac {231}{4} \, x^{8} + 66 \, x^{7} + 55 \, x^{6} + 33 \, x^{5} + \frac {55}{4} \, x^{4} + \frac {11}{3} \, x^{3} + \frac {1}{2} \, x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(1+x)*(x^2+2*x+1)^5,x, algorithm="giac")

[Out]

1/13*x^13 + 11/12*x^12 + 5*x^11 + 33/2*x^10 + 110/3*x^9 + 231/4*x^8 + 66*x^7 + 55*x^6 + 33*x^5 + 55/4*x^4 + 11
/3*x^3 + 1/2*x^2

________________________________________________________________________________________

maple [B]  time = 0.04, size = 62, normalized size = 3.26 \begin {gather*} \frac {1}{13} x^{13}+\frac {11}{12} x^{12}+5 x^{11}+\frac {33}{2} x^{10}+\frac {110}{3} x^{9}+\frac {231}{4} x^{8}+66 x^{7}+55 x^{6}+33 x^{5}+\frac {55}{4} x^{4}+\frac {11}{3} x^{3}+\frac {1}{2} x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(x+1)*(x^2+2*x+1)^5,x)

[Out]

1/13*x^13+11/12*x^12+5*x^11+33/2*x^10+110/3*x^9+231/4*x^8+66*x^7+55*x^6+33*x^5+55/4*x^4+11/3*x^3+1/2*x^2

________________________________________________________________________________________

maxima [B]  time = 0.58, size = 61, normalized size = 3.21 \begin {gather*} \frac {1}{13} \, x^{13} + \frac {11}{12} \, x^{12} + 5 \, x^{11} + \frac {33}{2} \, x^{10} + \frac {110}{3} \, x^{9} + \frac {231}{4} \, x^{8} + 66 \, x^{7} + 55 \, x^{6} + 33 \, x^{5} + \frac {55}{4} \, x^{4} + \frac {11}{3} \, x^{3} + \frac {1}{2} \, x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(1+x)*(x^2+2*x+1)^5,x, algorithm="maxima")

[Out]

1/13*x^13 + 11/12*x^12 + 5*x^11 + 33/2*x^10 + 110/3*x^9 + 231/4*x^8 + 66*x^7 + 55*x^6 + 33*x^5 + 55/4*x^4 + 11
/3*x^3 + 1/2*x^2

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 61, normalized size = 3.21 \begin {gather*} \frac {x^{13}}{13}+\frac {11\,x^{12}}{12}+5\,x^{11}+\frac {33\,x^{10}}{2}+\frac {110\,x^9}{3}+\frac {231\,x^8}{4}+66\,x^7+55\,x^6+33\,x^5+\frac {55\,x^4}{4}+\frac {11\,x^3}{3}+\frac {x^2}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(x + 1)*(2*x + x^2 + 1)^5,x)

[Out]

x^2/2 + (11*x^3)/3 + (55*x^4)/4 + 33*x^5 + 55*x^6 + 66*x^7 + (231*x^8)/4 + (110*x^9)/3 + (33*x^10)/2 + 5*x^11
+ (11*x^12)/12 + x^13/13

________________________________________________________________________________________

sympy [B]  time = 0.07, size = 70, normalized size = 3.68 \begin {gather*} \frac {x^{13}}{13} + \frac {11 x^{12}}{12} + 5 x^{11} + \frac {33 x^{10}}{2} + \frac {110 x^{9}}{3} + \frac {231 x^{8}}{4} + 66 x^{7} + 55 x^{6} + 33 x^{5} + \frac {55 x^{4}}{4} + \frac {11 x^{3}}{3} + \frac {x^{2}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(1+x)*(x**2+2*x+1)**5,x)

[Out]

x**13/13 + 11*x**12/12 + 5*x**11 + 33*x**10/2 + 110*x**9/3 + 231*x**8/4 + 66*x**7 + 55*x**6 + 33*x**5 + 55*x**
4/4 + 11*x**3/3 + x**2/2

________________________________________________________________________________________